<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<script src="script/jquery-1.10.min.js">
// <script src="https://cdn.bootcss.com/jquery/1.10.2/jquery.min.js"></script>
<!-- <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css"> -->
<link rel="stylesheet" href="script/bootstrap-3.3.7.min.css">
<!-- <script src="https://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script> -->
<script src="script/bootstrap-3.3.7.min.js"></script>
<script src="script/bootstrap-3.3.7.min.js"></script>
<script src="script/bootbox.min.js"></script>
</script>
</head>
<body>
  
<a href=http://bootboxjs.com/examples.html#bb-alert-dialog>链接</a>
</body>

<script type="text/javascript">
$(document).ready(function(){
bootbox.alert("This is the default alert!");

bootbox.alert({ 
  size: "small",
  title: "Your Title",
  message: "Your message here…", 
  callback: function(){ /* your callback code */ }
});
bootbox.confirm({ 
  size: "small",
  message: "Are you sure?", 
  callback: function(result){ if (result == true){console.log(111)}/* result is a boolean; true = OK, false = Cancel*/ }
})

bootbox.prompt({
    title: "This is a prompt with a date input!",
    inputType: 'date',
    callback: function (result) {
        console.log(result);
    }
});

  });
  

</script>
</html>
